/**
 * Created by aa on 2016/9/27.
 */
/**渲染头部底部公用模板
 * Created by aa on 2016/8/19.
 */

var React = require('react');
var ReactDom = require('react-dom');
var HkfsHomeBar = require('./components/pc/HkfsLoginAndRegisterBar.jsx');
var HkfsFooter = require('./components/pc/HkfsLoginAndRegisterFooter.jsx');
var HkfsHeader = require('./components/pc/HkfsHeader.jsx');

require('stylesheets/init.css');
require('stylesheets/Hkfsmodel.less');
require('stylesheets/HkfsHeader.less');
require('stylesheets/HkfsLoginAndRegisterFooter.less');
require('stylesheets/HkfsLoginAndRegisterBar.less');
require('stylesheets/ReDialog.less');

//初始化模板
ReactDom.render(
    <HkfsFooter/>, document.getElementById('HkfsFooter'));


ReactDom.render(
    <HkfsHeader leftData={[{imgHref:'/images/pc/header_phone.png',content:'服务热线：400-102-1010'}]}
                rightData={[{content:'帮助',contentHref:'#'},{content:'欢迎来到华康财富！'}]}></HkfsHeader>, document.getElementById('HkfsHeader'));

ReactDom.render(<HkfsHomeBar></HkfsHomeBar>, document.getElementById('HkfsBar'));

